//p0001.cpp
#include <stdio.h>
int main(){
	int a,b;
	while (scanf("%d%d",&a,&b)!=EOF){
		int t=1000000;
		while (t--);	
		printf("%d\n",a+b);
	}
}

